FROM openjdk:21
WORKDIR /app
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY zey-inno-sms-1.0-SNAPSHOT.jar /app/sms.jar
RUN chmod +r /app/sms.jar
ENTRYPOINT ["java","-cp","sms.jar","com.inno.sms.SmsApplication","java","-jar","sms.jar"]


